/*
 * Copyright (c) 2023, 2024,yzc.cn All rights reserved.
 *
 */
package com.by.server.impl;

import com.by.mapper.UserMapper;
import com.by.pojo.SUser;
import com.by.server.UserServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>Project: erp-cloud-api - UserServerImpl</p>
 * <p>Powered by yzc On 2024-01-23 11:32:03</p>
 * <p>描述：<p>
 *
 * @author yzc [youzhicheng0415@163.com]
 * @version 1.0
 * @since 17
 */
@Service
public class UserServerImpl implements UserServer {

    @Autowired
    UserMapper userMapper;

    @Override
    public SUser queryUser(String username) {
        return userMapper.queryUser(username);
    }

    @Override
    public String queryPermissions(String id) {
        return userMapper.queryPermissions(id);
    }
}
